package com.jbm.jbmsupplier.util;

import java.io.Serializable;

/**
 * Created by root on 16-1-20.
 */
public class IAttachment  implements Serializable
{
    public IAttachment ()
    {
        back = false;
        method = "";
        errorinfo = "";

        this.offset = 0;
        this.att_id = 0;
        this.att_type = "";
        this.att_text = "";
        this.att_path = "";
        this.att_orgname = "";
        this.status = "";
        this.memo = "";
    }

    public IAttachment ( boolean back, String errorinfo )
    {
        this();

        this.back = back;
        this.errorinfo = errorinfo;
    }

    public IAttachment ( String folder_type, int folder_id, int att_id, String att_type, String att_text, String att_path, String att_orgname, String memo )
    {
        this();

        this.folder_type = folder_type;
        this.folder_id = folder_id;
        this.att_id = att_id;
        this.att_type = att_type;
        this.att_text = att_text;
        this.att_path = att_path;
        this.att_orgname = att_orgname;
        this.memo = memo;
    }
    private static final long serialVersionUID = 2100001L;

    public boolean back;
    public String method;
    public String errorinfo;

    public String folder_type;
    public int folder_id;

    public int att_id;
    public String att_type;
    public String att_text;
    public String att_path;
    public String att_orgname;
    public String status;
    public String memo;
    public String create_date;
    public int create_id;
    public String create_name;
    public int offset;

    public byte[] buffer;
    public int bufferlen;
}
